package com.yun.blog.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.yun.blog.bean.Tag;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface TagService extends IService<Tag> {
    Tag getByTagName(@Param("tagName") String tagName);

    Tag getByTagId(@Param("tagId") Integer tagId);

    List<Tag> getByBlogId(@Param("blogId") Integer blogId);

    List<Tag> listByIsUse(@Param("isUse") Boolean isUse);

}
